package com.yisoo.ubag.iot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yisoo.common.to.RefreshBagStatusTo;
import com.yisoo.common.utils.PageUtils;
import com.yisoo.common.utils.R;
import com.yisoo.ubag.iot.entity.StatusEntity;

import java.util.Map;

/**
 * 
 *
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-03-07 13:09:16
 */
public interface StatusService extends IService<StatusEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveOrUpdateByDeviceNameAndMsg(StatusEntity content);

    RefreshBagStatusTo getBagUpStatus(Long bagId);

    R getStatusByDevName(String devName);
}

